import request from '@/utils/request'

const statementApi = {
  getSummaryStatement: '/api/DATATJ/get_HZBBList',
  getQuarterStatementCategory: '/api/DATATJ/getQuarterStatementCategory',
  getStatementList: '/api/statement/getStatementList',
  getSubsidyStatement: '/api/DATATJ/getSubsidyStatement',
  getHousingStatement: '/api/statement/getHousingStatement',
}

export function getSummaryStatement(params) {
  return request({
    url: statementApi.getSummaryStatement,
    method: 'get',
    params,
  })
}

export function getQuarterStatementCategory(params) {
  return request({
    url: statementApi.getQuarterStatementCategory,
    method: 'get',
    params,
  })
}

export function getStatementList(params) {
  return request({
    url: statementApi.getStatementList,
    method: 'get',
    params,
  })
}

export function getSubsidyStatement(params) {
  return request({
    url: statementApi.getSubsidyStatement,
    method: 'get',
    params,
  })
}

export function getHousingStatement(params) {
  return request({
    url: statementApi.getHousingStatement,
    method: 'get',
    params,
  })
}
